<?xml version='1.0' encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    version="1.0">
<xsl:output  encoding="ISO-8859-1"/>

    <xsl:template match="PLANETES">
        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

            <fo:layout-master-set>
                <fo:simple-page-master master-name="page"
                    page-height="400mm" page-width="300mm"
                    margin-top="10mm" margin-bottom="10mm"
                    margin-left="20mm" margin-right="20mm">

                    <fo:region-body
                        margin-top="0mm" margin-bottom="10mm"
                        margin-left="0mm" margin-right="0mm"/>

                    <fo:region-after extent="10mm"/>
                </fo:simple-page-master>
            </fo:layout-master-set>

            <fo:page-sequence master-name="page">

                <fo:flow flow-name="xsl-region-body">

                    <fo:block font-size="24pt">Le tableau des plantes</fo:block>
                    <fo:list-block 
                        provisional-distance-between-starts="15mm"
                        provisional-label-separation="5mm">

                        <xsl:apply-templates/>

                    </fo:list-block>
                </fo:flow>
            </fo:page-sequence>

        </fo:root>
    </xsl:template>

    <xsl:template match="PLANETE">
        <fo:list-item line-height="20mm">
            <fo:list-item-label>
                <fo:block font-family="sans-serif" 
                    font-size="36pt">
                    <xsl:number/>
                    <xsl:text>. </xsl:text>
                </fo:block>
            </fo:list-item-label>

            <xsl:apply-templates/>
        </fo:list-item>
    </xsl:template>

    <xsl:template match="NOM">
        <fo:list-item-body>
            <fo:block font-family="sans-serif" 
                font-size="36pt">
                <xsl:value-of select='.'/>
            </fo:block>
        </fo:list-item-body>
    </xsl:template>

    <xsl:template match="MASSE">
    </xsl:template>

    <xsl:template match="RAYON">
    </xsl:template>

    <xsl:template match="DENSITE">
    </xsl:template>

    <xsl:template match="JOUR">
    </xsl:template>

    <xsl:template match="DISTANCE">
    </xsl:template>

</xsl:stylesheet>
